package kr.co.casually;

import android.app.ProgressDialog;
import android.content.Context;

public class WaitProgressDialog {
	public  ProgressDialog mProgressDialog;

	public void showProgressDialog(Context context, String title, String message) {
		if (mProgressDialog == null) {
			mProgressDialog = ProgressDialog.show(context, title, message);
		}
		mProgressDialog.show();

	}

	public void dismissProgressDialog() {
		if (mProgressDialog != null) {
			mProgressDialog.dismiss();
			mProgressDialog = null;
		}
	}

}
